<template>
  <div class="count">
    <h2>Count组件</h2>
  </div>
</template>

<script lang="ts">
import {defineComponent} from "vue";

export default defineComponent({
  name: "Count",
});

</script>

<script lang="ts" setup>
import {defineExpose, ref} from "vue";

const countNum = ref(7667)

defineExpose({
  countNum
})
</script>

<style scoped>
.count {
  background-color: pink;
}
</style>